/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Jawad
 */
@Entity
@Table(name = "TYPE_CHAMBRE")
public class TypeChambre implements Serializable{

    private int id;
    private String typeChambre;

    public TypeChambre() {
    }

    public TypeChambre(int id, String typeChambre) {
        this.id = id;
        this.typeChambre = typeChambre;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Column(name = "TYPECHAMBRE")
    public String getTypeChambre() {
        return typeChambre;
    }

    public void setTypeChambre(String typeChambre) {
        this.typeChambre = typeChambre;
    }
}
